Fix format errors
This commit is contained in:
parent
3df1cc81ed
commit
70330273c0
@ -262,7 +262,7 @@ func Test_PackTx(t *testing.T) {
|
|||||||
name: "Bellcoin-1",
|
name: "Bellcoin-1",
|
||||||
args: args{
|
args: args{
|
||||||
tx: testTx1,
|
tx: testTx1,
|
||||||
height: 205708,
|
height: 205708,
|
||||||
blockTime: 1549095010,
|
blockTime: 1549095010,
|
||||||
parser: NewBellcoinParser(GetChainParams("main"), &btc.Configuration{}),
|
parser: NewBellcoinParser(GetChainParams("main"), &btc.Configuration{}),
|
||||||
},
|
},
|
||||||
@ -304,7 +304,7 @@ func Test_UnpackTx(t *testing.T) {
|
|||||||
parser: NewBellcoinParser(GetChainParams("main"), &btc.Configuration{}),
|
parser: NewBellcoinParser(GetChainParams("main"), &btc.Configuration{}),
|
||||||
},
|
},
|
||||||
want: &testTx1,
|
want: &testTx1,
|
||||||
want1: 205708,
|
want1: 205708,
|
||||||
wantErr: false,
|
wantErr: false,
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|||||||
@ -75,7 +75,7 @@ func init() {
|
|||||||
BlockChainFactories["Zcoin"] = xzc.NewZcoinRPC
|
BlockChainFactories["Zcoin"] = xzc.NewZcoinRPC
|
||||||
BlockChainFactories["Fujicoin"] = fujicoin.NewFujicoinRPC
|
BlockChainFactories["Fujicoin"] = fujicoin.NewFujicoinRPC
|
||||||
BlockChainFactories["Flo"] = flo.NewFloRPC
|
BlockChainFactories["Flo"] = flo.NewFloRPC
|
||||||
BlockChainFactories["Bellcoin"] = bellcoin.NewBellcoinRPC
|
BlockChainFactories["Bellcoin"] = bellcoin.NewBellcoinRPC
|
||||||
}
|
}
|
||||||
|
|
||||||
// GetCoinNameFromConfig gets coin name and coin shortcut from config file
|
// GetCoinNameFromConfig gets coin name and coin shortcut from config file
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user