main_test.go
TEXT FILE193 B · Public source code for developers, search crawlers and AI agents
1package main
2
3import (
4 "fmt"
5 "testing"
6)
7
8func TestHash160(t *testing.T) {
9 if fmt.Sprintf("%x", hash160(nil)) != "b472a266d0bd89c13706a4132ccfb16f7c3b9fcb" {
10 t.Fatal("wrong HASH160")
11 }
12}Read-only source · Select a line number to link directly · Raw download above
