From ec05c508c681b01ca990f091f346f5171538ce8d Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Mon, 7 Aug 2017 14:41:29 +0200 Subject: rpc: Use ValueFromAmount instead of FormatMoney in TxToUniv With this, the amounts returned in `decoderawtransaction` will be padded to 8 digits like anywhwere else in the API. --- test/util/data/tt-delout1-out.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/util/data/tt-delout1-out.json') diff --git a/test/util/data/tt-delout1-out.json b/test/util/data/tt-delout1-out.json index 6769ed79ff..5b69d0cd86 100644 --- a/test/util/data/tt-delout1-out.json +++ b/test/util/data/tt-delout1-out.json @@ -198,7 +198,7 @@ ], "vout": [ { - "value": 1.3782, + "value": 1.37820000, "n": 0, "scriptPubKey": { "asm": "OP_DUP OP_HASH160 8fd139bb39ced713f231c58a4d07bf6954d1c201 OP_EQUALVERIFY OP_CHECKSIG", -- cgit v1.2.3