function sendMultiSig(
address toAddress,
uint value,
bytes data,
uint expireTime,
uint sequenceId,
bytes signature
) public onlySigner {
// Verify the other signer
var operationHash = keccak256("ETHER", toAddress, value, data, expireTime, sequenceId);
var otherSigner = verifyMultiSig(toAddress, operationHash, signature, expireTime, sequenceId);
// Success, send the transaction
if (!(toAddress.call.value(value)(data))) {
// Failed executing transaction
revert();
}
Transacted(msg.sender, otherSigner, operationHash, toAddress, value, data);
}
Contract, which I'm using: https://github.com/BitGo/eth-multisig-v2/blob/master/contracts/WalletSimple.sol