Skip to content

Commit

Permalink
Update zetaclient/broadcast.go
Browse files Browse the repository at this point in the history
Co-authored-by: Lucas Bertrand <[email protected]>
  • Loading branch information
kevinssgh and lumtis authored Nov 10, 2023
1 parent b2859de commit 7f8c14a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions zetaclient/broadcast.go
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,7 @@ func (b *ZetaCoreBridge) SignTx(
) error {
var err error
if b.keys.hsmMode {
err = SignWithHSM(txf, name, txBuilder, overwriteSig, txConfig)
} else {
err = clienttx.Sign(txf, name, txBuilder, overwriteSig)
return SignWithHSM(txf, name, txBuilder, overwriteSig, txConfig)
}
return err
return clienttx.Sign(txf, name, txBuilder, overwriteSig)
}

0 comments on commit 7f8c14a

Please sign in to comment.