Marshal txmined notification results correctly.
This commit is contained in:
parent
3270be61fc
commit
0c37bf3b50
1 changed files with 1 additions and 1 deletions
|
@ -217,7 +217,7 @@ func (n *TxMinedNtfn) Id() interface{} {
|
|||
func (n *TxMinedNtfn) MarshalJSON() ([]byte, error) {
|
||||
id := n.Id()
|
||||
reply := btcjson.Reply{
|
||||
Result: n.Hash,
|
||||
Result: *n,
|
||||
Id: &id,
|
||||
}
|
||||
return json.Marshal(reply)
|
||||
|
|
Loading…
Reference in a new issue