More verbose tx handling.
This commit is contained in:
parent
e615f250d1
commit
0056958dfa
1 changed files with 2 additions and 1 deletions
|
@ -727,6 +727,7 @@ func handleSendRawTxReply(frontend chan []byte, icmd btcjson.Cmd,
|
||||||
txInfo *CreatedTx) bool {
|
txInfo *CreatedTx) bool {
|
||||||
|
|
||||||
if e != nil {
|
if e != nil {
|
||||||
|
log.Errorf("Could not send tx: %v", err)
|
||||||
ReplyError(frontend, icmd.Id(), e)
|
ReplyError(frontend, icmd.Id(), e)
|
||||||
return true
|
return true
|
||||||
}
|
}
|
||||||
|
@ -800,7 +801,7 @@ func handleSendRawTxReply(frontend chan []byte, icmd btcjson.Cmd,
|
||||||
UnminedTxs.m[TXID(*txID)] = txInfo
|
UnminedTxs.m[TXID(*txID)] = txInfo
|
||||||
UnminedTxs.Unlock()
|
UnminedTxs.Unlock()
|
||||||
|
|
||||||
log.Debugf("successfully sent transaction %v", result)
|
log.Infof("Successfully sent transaction %v", result)
|
||||||
ReplySuccess(frontend, icmd.Id(), result)
|
ReplySuccess(frontend, icmd.Id(), result)
|
||||||
|
|
||||||
// The comments to be saved differ based on the underlying type
|
// The comments to be saved differ based on the underlying type
|
||||||
|
|
Loading…
Reference in a new issue