8 "github.com/vapor/protocol/bc"
11 func MustDecodeHash(s string) (h bc.Hash) {
12 if err := h.UnmarshalText([]byte(s)); err != nil {
18 func MustDecodeAsset(s string) (h bc.AssetID) {
19 if err := h.UnmarshalText([]byte(s)); err != nil {
25 func Serialize(t *testing.T, wt io.WriterTo) []byte {
27 if _, err := wt.WriteTo(&b); err != nil {