fix(storagemarketadapter): minor fix for test

This commit is contained in:
hannahhoward 2019-12-17 09:44:26 -08:00
parent 65ecb33630
commit 353f93fddf

View File

@ -304,7 +304,16 @@ func (n *ClientNodeAdapter) SignProposal(ctx context.Context, signer address.Add
if err != nil { if err != nil {
return err return err
} }
return api.SignWith(ctx, n.Wallet.Sign, sharedutils.FromSharedAddress(signer), localProposal) err = api.SignWith(ctx, n.Wallet.Sign, sharedutils.FromSharedAddress(signer), localProposal)
if err != nil {
return err
}
signature, err := sharedutils.ToSharedSignature(localProposal.ProposerSignature)
if err != nil {
return err
}
proposal.ProposerSignature = signature
return nil
} }
func (n *ClientNodeAdapter) GetDefaultWalletAddress(ctx context.Context) (address.Address, error) { func (n *ClientNodeAdapter) GetDefaultWalletAddress(ctx context.Context) (address.Address, error) {