Skip to content

Commit

Permalink
Set encryptedData - nil
Browse files Browse the repository at this point in the history
  • Loading branch information
trizin authored May 6, 2024
1 parent ef74765 commit 706ca3a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ func SendETHTransaction(keyHexC *C.char, myAddrC *C.char, toAddrC *C.char, rpcUr
var encryptedData []byte
if datahex == "" {
data = nil
encryptedData = nil
if logLevel == "DEBUG" {
fmt.Println("Transaction data is empty")
}
Expand Down

0 comments on commit 706ca3a

Please sign in to comment.