Show More
@@ -149,7 +149,10 b" gboptsmap = {'heads': 'nodes'," | |||
|
149 | 149 | class wirepeer(peer.peerrepository): |
|
150 | 150 | |
|
151 | 151 | def batch(self): |
|
152 | return remotebatch(self) | |
|
152 | if self.capable('batch'): | |
|
153 | return remotebatch(self) | |
|
154 | else: | |
|
155 | return peer.localbatch(self) | |
|
153 | 156 | def _submitbatch(self, req): |
|
154 | 157 | cmds = [] |
|
155 | 158 | for op, argsdict in req: |
General Comments 0
You need to be logged in to leave comments.
Login now