mirror of
https://github.com/fullstack-cash/bch-api.git
synced 2026-09-23 01:32:03 -07:00
Updating unit test mocks
This commit is contained in:
@@ -237,7 +237,8 @@ const mockBlockHeader = {
|
|||||||
previousblockhash:
|
previousblockhash:
|
||||||
'0000000000003e467ebcb7e906645676c2f71b9ac520d6508bea45789b7c217d',
|
'0000000000003e467ebcb7e906645676c2f71b9ac520d6508bea45789b7c217d',
|
||||||
nextblockhash:
|
nextblockhash:
|
||||||
'00000000000006899041cdfd6c0b73a97730c362346dde479b77414ad7f25ace'
|
'00000000000006899041cdfd6c0b73a97730c362346dde479b77414ad7f25ace',
|
||||||
|
nTx: 'some value'
|
||||||
}
|
}
|
||||||
|
|
||||||
const mockTxOut = {
|
const mockTxOut = {
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ const mockMiningInfo = {
|
|||||||
currentblocksize: 0,
|
currentblocksize: 0,
|
||||||
currentblocktx: 0,
|
currentblocktx: 0,
|
||||||
difficulty: 1,
|
difficulty: 1,
|
||||||
blockprioritypercentage: 5,
|
|
||||||
warnings:
|
warnings:
|
||||||
"Warning: Unknown block versions being mined! It's possible unknown rules are in effect",
|
"Warning: Unknown block versions being mined! It's possible unknown rules are in effect",
|
||||||
networkhashps: 517410290.9365583,
|
networkhashps: 517410290.9365583,
|
||||||
|
|||||||
Reference in New Issue
Block a user