gofmt
This commit is contained in:
parent
d0dfff8292
commit
f6b03bf8a8
3 changed files with 8 additions and 8 deletions
|
@ -13,7 +13,7 @@ import (
|
|||
var genesisCoinbaseTx = MsgTx{
|
||||
Version: 1,
|
||||
TxIn: []*TxIn{
|
||||
&TxIn{
|
||||
{
|
||||
PreviousOutpoint: OutPoint{
|
||||
Hash: ShaHash{},
|
||||
Index: 0xffffffff,
|
||||
|
@ -34,7 +34,7 @@ var genesisCoinbaseTx = MsgTx{
|
|||
},
|
||||
},
|
||||
TxOut: []*TxOut{
|
||||
&TxOut{
|
||||
{
|
||||
Value: 0x12a05f200,
|
||||
PkScript: []byte{
|
||||
0x41, 0x04, 0x67, 0x8a, 0xfd, 0xb0, 0xfe, 0x55, /* |A.g....U| */
|
||||
|
|
|
@ -470,10 +470,10 @@ var blockOne = btcwire.MsgBlock{
|
|||
Nonce: 0x9962e301, // 2573394689
|
||||
},
|
||||
Transactions: []*btcwire.MsgTx{
|
||||
&btcwire.MsgTx{
|
||||
{
|
||||
Version: 1,
|
||||
TxIn: []*btcwire.TxIn{
|
||||
&btcwire.TxIn{
|
||||
{
|
||||
PreviousOutpoint: btcwire.OutPoint{
|
||||
Hash: btcwire.ShaHash{},
|
||||
Index: 0xffffffff,
|
||||
|
@ -485,7 +485,7 @@ var blockOne = btcwire.MsgBlock{
|
|||
},
|
||||
},
|
||||
TxOut: []*btcwire.TxOut{
|
||||
&btcwire.TxOut{
|
||||
{
|
||||
Value: 0x12a05f200,
|
||||
PkScript: []byte{
|
||||
0x41, // OP_DATA_65
|
||||
|
@ -551,5 +551,5 @@ var blockOneBytes = []byte{
|
|||
|
||||
// Transaction location information for block one transactions.
|
||||
var blockOneTxLocs = []btcwire.TxLoc{
|
||||
btcwire.TxLoc{TxStart: 81, TxLen: 134},
|
||||
{TxStart: 81, TxLen: 134},
|
||||
}
|
||||
|
|
|
@ -620,7 +620,7 @@ func TestTxSerializeSize(t *testing.T) {
|
|||
var multiTx = &btcwire.MsgTx{
|
||||
Version: 1,
|
||||
TxIn: []*btcwire.TxIn{
|
||||
&btcwire.TxIn{
|
||||
{
|
||||
PreviousOutpoint: btcwire.OutPoint{
|
||||
Hash: btcwire.ShaHash{},
|
||||
Index: 0xffffffff,
|
||||
|
@ -632,7 +632,7 @@ var multiTx = &btcwire.MsgTx{
|
|||
},
|
||||
},
|
||||
TxOut: []*btcwire.TxOut{
|
||||
&btcwire.TxOut{
|
||||
{
|
||||
Value: 0x12a05f200,
|
||||
PkScript: []byte{
|
||||
0x41, // OP_DATA_65
|
||||
|
|
Loading…
Reference in a new issue