Skip to content

Commit

Permalink
fix: format error
Browse files Browse the repository at this point in the history
  • Loading branch information
jazg committed Aug 3, 2021
1 parent 081e47f commit 676ce19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resolver/resolver.go
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ func (resolver *Resolver) validateGateway(gateway string, tx tx.Tx, input Partia
if tx.Selector.Asset().OriginChain().IsAccountBased() {
pubKey := id.PubKey{}
if err := surge.FromBinary(&pubKey, input.Gpubkey); err != nil {
return fmt.Errorf("decompressing gpubkey: %v %v", err, input.Gpubkey)
return fmt.Errorf("decompressing gpubkey %v: %v", input.Gpubkey, err)
}
ghashPrivKey, err := crypto.ToECDSA(input.Ghash.Bytes())
if err != nil {
Expand Down

0 comments on commit 676ce19

Please sign in to comment.