From c52da462a7268fdcad610eff1c3288da8e6799a9 Mon Sep 17 00:00:00 2001 From: postables <17089485+bonedaddy@users.noreply.github.com> Date: Wed, 2 Sep 2020 06:39:31 +0000 Subject: [PATCH] fix incorrect struct field name --- wallet/structs.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wallet/structs.go b/wallet/structs.go index 718dfbf..b3ebc4f 100644 --- a/wallet/structs.go +++ b/wallet/structs.go @@ -341,7 +341,7 @@ type RequestSweepDust struct { // (Optional) If true, the newly created transaction will not be relayed to the monero network. (Defaults to false) DoNotRelay bool `json:"do_not_relay,omitempty"` // (Optional) Return the transactions as hex string after sending. (Defaults to false) - GetTxHey bool `json:"get_tx_hex,omitempty"` + GetTxHex bool `json:"get_tx_hex,omitempty"` // (Optional) Return list of transaction metadata needed to relay the transfer later. (Defaults to false) GetTxMetadata bool `json:"get_tx_metadata,omitempty"` } @@ -439,7 +439,7 @@ type RequestSweepSingle struct { // (Optional) If true, do not relay this sweep transfer. (Defaults to false) DoNotRelay bool `json:"do_not_relay,omitempty"` // (Optional) return the transactions as hex encoded string. (Defaults to false) - GetTxHey bool `json:"get_tx_hex,omitempty"` + GetTxHex bool `json:"get_tx_hex,omitempty"` // (Optional) return the transaction metadata as a string. (Defaults to false) GetTxMetadata bool `json:"get_tx_metadata,omitempty"` }