Skip to content

Commit

Permalink
console the broadcast details
Browse files Browse the repository at this point in the history
  • Loading branch information
charymalloju committed Sep 2, 2022
1 parent b02bd71 commit dbc0bfd
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions src/pages/multisig/BroadcastTx.js
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ export default function BroadcastTx({ tx, signatures, multisigAccount }) {
: signatures[0].bodybytes
);

console.log('Before base64 body bytes', signatures[0].bodyBytes
? signatures[0].bodyBytes
: signatures[0].bodybytes)
console.log('After base64 body bytes', bodyBytes)

let currentSignatures = [];
signatures.map((s) => {
let obj = {
Expand Down Expand Up @@ -88,6 +93,11 @@ export default function BroadcastTx({ tx, signatures, multisigAccount }) {
},
};

console.log('new map Obj', newMapObj)
console.log('multisig sequence ', multisigAcc?.sequence)
console.log('Pub keys ---- ', pubkeys)
console.log('current signatures --', currentSignatures)

const signedTx = makeMultisignedTx(
newMapObj,
multisigAcc.sequence,
Expand Down
2 changes: 1 addition & 1 deletion src/pages/multisig/tx/List_txs.js
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ const TableRowComponent = ({ tx }) => {
{tx?.signatures?.length || 0}/{threshold}
</TableCell>
<TableCell align="right">
{tx?.signatures?.length || 0 >= threshold ? (
{(tx?.signatures?.length || 0) >= threshold ? (
<span>
{tx?.status === "DONE" || tx?.status === "FAILED"
? tx?.status
Expand Down

0 comments on commit dbc0bfd

Please sign in to comment.