Go fmt.
This commit is contained in:
parent
1ca389aa3d
commit
e2770d3691
1 changed files with 13 additions and 18 deletions
|
@ -2665,40 +2665,35 @@ nexttest:
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
var classStringifyTests = []struct{
|
var classStringifyTests = []struct {
|
||||||
name string
|
name string
|
||||||
scriptclass btcscript.ScriptClass
|
scriptclass btcscript.ScriptClass
|
||||||
stringed string
|
stringed string
|
||||||
}{
|
}{
|
||||||
{
|
{
|
||||||
name: "pubkey",
|
name: "pubkey",
|
||||||
scriptclass: btcscript.PubKeyTy,
|
scriptclass: btcscript.PubKeyTy,
|
||||||
stringed: "pubkey",
|
stringed: "pubkey",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "pubkeyhash",
|
name: "pubkeyhash",
|
||||||
scriptclass: btcscript.PubKeyHashTy,
|
scriptclass: btcscript.PubKeyHashTy,
|
||||||
stringed: "pubkeyhash",
|
stringed: "pubkeyhash",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "scripthash",
|
name: "scripthash",
|
||||||
scriptclass: btcscript.ScriptHashTy,
|
scriptclass: btcscript.ScriptHashTy,
|
||||||
stringed: "scripthash",
|
stringed: "scripthash",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "multisigty",
|
name: "multisigty",
|
||||||
scriptclass: btcscript.MultiSigTy,
|
scriptclass: btcscript.MultiSigTy,
|
||||||
stringed: "multisig",
|
stringed: "multisig",
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: "nonstandard",
|
name: "broken",
|
||||||
scriptclass: btcscript.NonStandardTy,
|
|
||||||
stringed: "nonstandard",
|
|
||||||
},
|
|
||||||
{
|
|
||||||
name: "broken",
|
|
||||||
scriptclass: btcscript.ScriptClass(255),
|
scriptclass: btcscript.ScriptClass(255),
|
||||||
stringed: "Invalid",
|
stringed: "Invalid",
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue