Skip to content

Commit 1a060ea

Browse files
Fix build error
1 parent 11b3bb4 commit 1a060ea

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

packages/wallet/dapp-client/src/ChainSessionManager.ts

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -856,10 +856,13 @@ export class ChainSessionManager {
856856
}))
857857
try {
858858
const signedCall = await this._buildAndSignCalls(callsToSend)
859-
this.lastSignedCallCache = {
860-
fingerprint: this._fingerprintCalls(callsToSend),
861-
signedCall,
862-
createdAtMs: Date.now(),
859+
const fingerprint = this._fingerprintCalls(callsToSend)
860+
if (fingerprint) {
861+
this.lastSignedCallCache = {
862+
fingerprint,
863+
signedCall,
864+
createdAtMs: Date.now(),
865+
}
863866
}
864867
const feeOptions = await this.relayer.feeOptions(signedCall.to, this.chainId, callsToSend)
865868
return feeOptions.options

0 commit comments

Comments
 (0)