-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ALL-4863: doge getblock verbose should be boolean
- Loading branch information
1 parent
765ccb3
commit d78b44c
Showing
5 changed files
with
77 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,3 +8,4 @@ | |
coverage | ||
*.log | ||
.env | ||
jest-junit.xml |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
import { Bitcoin, Network } from '../../../service' | ||
import { UtxoE2eUtils, UtxoNetworkType } from './utxo.e2e.utils' | ||
|
||
describe('Bitcoin', () => { | ||
describe('mainnet', () => { | ||
it('getblock', async () => { | ||
const tatum = await UtxoE2eUtils.initTatum<Bitcoin>({ | ||
network: Network.BITCOIN, | ||
type: UtxoNetworkType.MAIN, | ||
}) | ||
const hash: string = '000000000000000000018d552ccb3928f02753dd5b2abe41d593db58c29a4e3f' | ||
const response = await tatum.rpc.getBlock(hash, 0) | ||
|
||
expect(response).toBeDefined() | ||
expect(typeof response.result).toBe('string') | ||
|
||
await tatum.destroy() | ||
}) | ||
}) | ||
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters