Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove console.log
  • Loading branch information
mordamax committed May 18, 2023
commit 4315da8ad402923ab8e5ba1e1e3589cfaece9623
3 changes: 0 additions & 3 deletions src/tip-opengov.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@ export async function tipOpenGov(opts: {
]);
const encodedProposal = proposalTx.method.toHex();
const proposalHash = blake2AsHex(encodedProposal);
const encodedLength = Math.ceil((encodedProposal.length - 2) / 2);

console.log(`encodedLength: ${encodedLength}`);

return await new Promise(async (resolve, reject) => {
// create a preimage from opengov with the encodedProposal above
Expand Down