core: fail TestCreateBasicChain when saving the chain
When regenerating RPC server test chain I usually need metadata this test outputs and the easiest way to get it is make it fail.
This commit is contained in:
parent
9a78f1da19
commit
e97cd9c032
1 changed files with 1 additions and 0 deletions
|
@ -213,6 +213,7 @@ func TestCreateBasicChain(t *testing.T) {
|
|||
bw := io.NewBufBinWriter()
|
||||
txSendRaw.EncodeBinary(bw.BinWriter)
|
||||
t.Logf("sendrawtransaction: %s", hex.EncodeToString(bw.Bytes()))
|
||||
require.False(t, saveChain)
|
||||
}
|
||||
|
||||
func initBasicChain(t *testing.T, bc *Blockchain) {
|
||||
|
|
Loading…
Reference in a new issue