fix tests

This commit is contained in:
Mononaut committed 2023-07-26 15:08:34 +09:00
1 parent ffc2b6c53c
commit 3838d947b1
3 files changed
+6 -6

No files matched your search

@@ -128,8 +128,8 @@
"AUDIT_START_HEIGHT": 774000,
"SERVERS": []
},
"MEMPOOl_SERVICES": {
"API": "__MEMPOOL_SERVICES_API__",
"ACCELERATIONS": "__MEMPOOL_SERVICES_ACCELERATIONS__"
"MEMPOOL_SERVICES": {
"API": "",
"ACCELERATIONS": false
}
}
+1 -1
View File
@@ -15,7 +15,7 @@ describe('Rust GBT', () => {
test('should produce the same template as getBlockTemplate from Bitcoin Core', async () => {
const rustGbt = new GbtGenerator();
const { mempool, maxUid } = mempoolFromArrayBuffer(vectorBuffer.buffer);
const result = await rustGbt.make(mempool, maxUid);
const result = await rustGbt.make(mempool, [], maxUid);
const blocks: [string, number][][] = result.blocks.map(block => {
return block.map(uid => [vectorUidMap.get(uid) || 'missing', uid]);