mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-27 08:22:34 +00:00
Go fmt.
This commit is contained in:
parent
1ca389aa3d
commit
e2770d3691
@ -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…
x
Reference in New Issue
Block a user