Add pubkey prop to TransactionSigning
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
import { makeCosmoshubPath } from "@cosmjs/amino";
|
||||
import { MultisigThresholdPubkey, makeCosmoshubPath } from "@cosmjs/amino";
|
||||
import { toBase64 } from "@cosmjs/encoding";
|
||||
import { LedgerSigner } from "@cosmjs/ledger-amino";
|
||||
import { SigningStargateClient } from "@cosmjs/stargate";
|
||||
@@ -21,6 +21,7 @@ interface LoadingStates {
|
||||
interface Props {
|
||||
signatures: DbSignature[];
|
||||
tx: DbTransaction;
|
||||
pubkey: MultisigThresholdPubkey;
|
||||
transactionID: string;
|
||||
addSignature: (signature: DbSignature) => void;
|
||||
}
|
||||
|
||||
@@ -168,10 +168,11 @@ const TransactionPage = ({
|
||||
{broadcastError && <div className="broadcast-error">{broadcastError}</div>}
|
||||
</>
|
||||
)}
|
||||
{!transactionHash && (
|
||||
{!transactionHash && !!pubkey && (
|
||||
<TransactionSigning
|
||||
tx={txInfo}
|
||||
transactionID={transactionID}
|
||||
pubkey={pubkey}
|
||||
signatures={currentSignatures}
|
||||
addSignature={addSignature}
|
||||
/>
|
||||
|
||||
Reference in New Issue
Block a user