aboutsummaryrefslogtreecommitdiff
path: root/test/util/data/txcreate1.json
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2017-08-07 14:41:29 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2017-08-07 17:01:21 +0200
commitec05c508c681b01ca990f091f346f5171538ce8d (patch)
tree38f77a320165eaddd0b5169969ca29f6108460ba /test/util/data/txcreate1.json
parent46347add438d49a69f34a3f2ab755feda7daff10 (diff)
downloadbitcoin-ec05c508c681b01ca990f091f346f5171538ce8d.tar.xz
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.
Diffstat (limited to 'test/util/data/txcreate1.json')
-rw-r--r--test/util/data/txcreate1.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/util/data/txcreate1.json b/test/util/data/txcreate1.json
index 36741044c9..edb091f946 100644
--- a/test/util/data/txcreate1.json
+++ b/test/util/data/txcreate1.json
@@ -36,7 +36,7 @@
],
"vout": [
{
- "value": 0.18,
+ "value": 0.18000000,
"n": 0,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 1fc11f39be1729bf973a7ab6a615ca4729d64574 OP_EQUALVERIFY OP_CHECKSIG",
@@ -49,7 +49,7 @@
}
},
{
- "value": 4.00,
+ "value": 4.00000000,
"n": 1,
"scriptPubKey": {
"asm": "OP_DUP OP_HASH160 f2d4db28cad6502226ee484ae24505c2885cb12d OP_EQUALVERIFY OP_CHECKSIG",