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
241 B

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