OSDN Git Service
(root)
/
bytom
/
vapor.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
76b2ebe
)
clean
author
HAOYUatHZ
<haoyu@protonmail.com>
Sun, 16 Jun 2019 02:44:13 +0000
(10:44 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Sun, 16 Jun 2019 02:44:13 +0000
(10:44 +0800)
federation/warder.go
patch
|
blob
|
history
diff --git
a/federation/warder.go
b/federation/warder.go
index
6d2aaac
..
7d7d551
100644
(file)
--- a/
federation/warder.go
+++ b/
federation/warder.go
@@
-178,10
+178,8
@@
func (w *warder) submitTx(destTx interface{}) (string, error) {
switch tx := destTx.(type) {
case *btmTypes.Tx:
return w.mainchainNode.SubmitTx(tx)
-
case *vaporTypes.Tx:
return w.sidechainNode.SubmitTx(tx)
-
default:
return "", errors.New("unknown destTx type")
}