Skip to content

Commit

Permalink
fix: debug
Browse files Browse the repository at this point in the history
  • Loading branch information
YarikRevich committed Nov 3, 2024
1 parent e0ce67b commit 9591233
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions core/transaction/entity.go
Original file line number Diff line number Diff line change
Expand Up @@ -596,9 +596,11 @@ func SmartContractTxnValueFee(scAddress string, sn SmartContractTxnData,
}
}

fmt.Println(client.PublicKey(), "PUBLIC KEY")
// fmt.Println(client.PublicKey(), "PUBLIC KEY")

ok, err := txn.VerifySigWith(client.PublicKey(), sys.VerifyWith)
// try client.PublicKey(clientId)

ok, err := txn.VerifySigWith(txn.PublicKey, sys.VerifyWith)
if err != nil {
err = errors.New("", "verification failed for auth response")
return
Expand Down

0 comments on commit 9591233

Please sign in to comment.