We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b0e8c88 commit cbf8fd1Copy full SHA for cbf8fd1
src/service/bill_service.rs
@@ -1560,16 +1560,6 @@ impl BillService {
1560
if blockchain.block_with_operation_code_exists(BillOpCode::Accept) {
1561
return Err(Error::BillAlreadyAccepted);
1562
}
1563
- // there has to be a request to accept block that is not expired
1564
- if let Some(req_to_accept) =
1565
- blockchain.get_last_version_block_with_op_code(BillOpCode::RequestToAccept)
1566
- {
1567
- if req_to_accept.timestamp + ACCEPT_DEADLINE_SECONDS < timestamp {
1568
- return Err(Error::RequestAlreadyExpired);
1569
- }
1570
- } else {
1571
- return Err(Error::BillWasNotRequestedToAccept);
1572
1573
1574
BillOpCode::RejectToBuy => {
1575
if let RecourseWaitingForPayment::Yes(_) = waiting_for_recourse {
0 commit comments