The core protocol of WoopChain
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
woop/blockchain/transaction_test.go

11 lines
223 B

package blockchain
import (
"testing"
)
func TestNewCoinbaseTX(t *testing.T) {
if cbtx := NewCoinbaseTX(TestAddressOne, genesisCoinbaseData, 0); cbtx == nil {
t.Errorf("failed to create a coinbase transaction.")
}
}