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

12 lines
198 B

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