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:
cb664ce
)
clean
author
HAOYUatHZ
<haoyu@protonmail.com>
Fri, 21 Jun 2019 08:03:43 +0000
(16:03 +0800)
committer
HAOYUatHZ
<haoyu@protonmail.com>
Fri, 21 Jun 2019 08:03:43 +0000
(16:03 +0800)
federation/warder.go
patch
|
blob
|
history
diff --git
a/federation/warder.go
b/federation/warder.go
index
322e342
..
8038cb8
100644
(file)
--- a/
federation/warder.go
+++ b/
federation/warder.go
@@
-122,8
+122,7
@@
func (w *warder) processCrossTx(ormTx *orm.CrossTransaction) error {
return err
}
- inputsCnt := getInputsCnt(destTx)
- signersSigns := make([][][]byte, inputsCnt)
+ signersSigns := make([][][]byte, getInputsCnt(destTx))
signerSigns, err := w.getSigns(destTx, ormTx)
if err != nil {