Skip to content

Commit

Permalink
fix: fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
simlecode committed Apr 13, 2023
1 parent 022b310 commit bc3f892
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion testhelper/memwallet.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,5 +111,6 @@ func (m *MemWallet) WalletSign(ctx context.Context, signer address.Address, toSi
if !ok {
return nil, fmt.Errorf("address %s not found", signer)
}
return vcrypto.Sign(toSign, keyInfo.Key(), vcrypto.SigTypeSecp256k1)

return vcrypto.Sign(toSign, keyInfo.Key(), sharedTypes.AddressProtocol2SignType(signer.Protocol()))
}

0 comments on commit bc3f892

Please sign in to comment.