mirror of
https://github.com/trezor/blockbook.git
synced 2026-03-09 00:57:15 +01:00
Introduce BitcoinType and EthereumType distinction of blockchains
This commit is contained in:
@@ -54,7 +54,7 @@ func AddressToPubKeyHex(addr string, parser bchain.BlockChainParser) string {
|
||||
return hex.EncodeToString(b)
|
||||
}
|
||||
|
||||
func GetTestUTXOBlock1(parser bchain.BlockChainParser) *bchain.Block {
|
||||
func GetTestBitcoinTypeBlock1(parser bchain.BlockChainParser) *bchain.Block {
|
||||
return &bchain.Block{
|
||||
BlockHeader: bchain.BlockHeader{
|
||||
Height: 225493,
|
||||
@@ -119,7 +119,7 @@ func GetTestUTXOBlock1(parser bchain.BlockChainParser) *bchain.Block {
|
||||
}
|
||||
}
|
||||
|
||||
func GetTestUTXOBlock2(parser bchain.BlockChainParser) *bchain.Block {
|
||||
func GetTestBitcoinTypeBlock2(parser bchain.BlockChainParser) *bchain.Block {
|
||||
return &bchain.Block{
|
||||
BlockHeader: bchain.BlockHeader{
|
||||
Height: 225494,
|
||||
|
||||
Reference in New Issue
Block a user