Set sendfrom txid from sendrawtransaction result.
Fixes #64 and a bunch of broken notification handlers after sending a transaction using sendfrom.
This commit is contained in:
parent
b09e4f5200
commit
57df957687
1 changed files with 1 additions and 0 deletions
|
@ -857,6 +857,7 @@ func SendFrom(icmd btcjson.Cmd) (interface{}, *btcjson.Error) {
|
|||
var txid string
|
||||
request := NewRPCRequest(sendtx, txid)
|
||||
response := <-CurrentRPCConn().SendRequest(request)
|
||||
txid = response.Result.(string)
|
||||
|
||||
if response.Err != nil {
|
||||
SendTxHistSyncChans.remove <- createdTx.txid
|
||||
|
|
Loading…
Add table
Reference in a new issue