Skip to content

Commit

Permalink
Emerald: withdraw .To settled
Browse files Browse the repository at this point in the history
  • Loading branch information
pro-wh committed Nov 22, 2022
1 parent d2cb2fe commit 03d7232
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion api/v1/logic.go
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@ func renderRuntimeTransaction(storageTransaction client.RuntimeTransaction) (Run
if err2 != nil {
return fmt.Errorf("to: %w", err2)
}
// todo: is this right? we don't otherwise register this off-chain .To
// Beware, this is the address of an account in the consensus
// layer, not an account in the runtime indicated in this API
// request.
apiTransaction.To = &to
} else {
apiTransaction.To = &sender0
Expand Down

0 comments on commit 03d7232

Please sign in to comment.