Commit b7ae2556 authored by vipwzw's avatar vipwzw

auto ci

parent 58a60ac9
......@@ -212,7 +212,7 @@ func (s *suiteRelay) TestExec_3() {
Value: &ty.RelayAction_ConfirmTx{ConfirmTx: order},
}
tx := &types.Transaction{Execer:[]byte("relay")}
tx := &types.Transaction{Execer: []byte("relay")}
tx.To = s.addrRelay
tx.Payload = types.Encode(sell)
tx.Sign(types.SECP256K1, privFrom)
......
......@@ -1102,7 +1102,7 @@ func (s *suiteVerifyCli) TestVerify() {
BlockHash: "000000000003ba27aa200b1cecaad478d2b00432346c3f1f3986da1afd33e506",
}
tx := &types.Transaction{Execer:[]byte(ty.RelayX)}
tx := &types.Transaction{Execer: []byte(ty.RelayX)}
tx.To = s.addrRelay
tx.Sign(types.SECP256K1, privTo)
......@@ -1156,7 +1156,7 @@ func (s *suiteSaveBtcHeader) SetupSuite() {
relay.SetChild(relay)
s.relay = relay
tx := &types.Transaction{Execer:[]byte(ty.RelayX)}
tx := &types.Transaction{Execer: []byte(ty.RelayX)}
tx.To = "addr"
tx.Sign(types.SECP256K1, privFrom)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment