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:
acae754
)
clean up
author
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 18 Jun 2019 08:17:49 +0000
(16:17 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Tue, 18 Jun 2019 08:17:49 +0000
(16:17 +0800)
federation/warder.go
patch
|
blob
|
history
diff --git
a/federation/warder.go
b/federation/warder.go
index
dd7a6ad
..
7c9ebb5
100644
(file)
--- a/
federation/warder.go
+++ b/
federation/warder.go
@@
-172,10
+172,6
@@
func (w *warder) proposeDestTx(tx *orm.CrossTransaction) (interface{}, string, e
}
}
-// TODO:
-// get signInsts?
-// create txSign in db
-// addInputWitness(tx, signInsts)?
func (w *warder) buildSidechainTx(ormTx *orm.CrossTransaction) (*vaporTypes.Tx, string, error) {
destTxData := &vaporTypes.TxData{Version: 1, TimeRange: 0}
muxID := &vaporBc.Hash{}
@@
-255,7
+251,6
@@
func (w *warder) initDestTxSigns(destTx interface{}, ormTx *orm.CrossTransaction
Status: common.CrossTxSignPendingStatus,
})
}
-
return w.db.Create(crossTxSigns).Error
}